export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  tip: false,
  addBtn: false,
  editBtn: false,
  viewBtn: false,
  selection: true,
  delBtn: false,
  searchLabelWidth:100,
  searchMenuSpan: 6,
  height: 500,
  "column": [
    {
      "type": "input",
      "label": "唯一标识",
      "prop": "id",
      hide: true,
      display: false
    }, {
      "type": "select",
      "label": "线路",
      "prop": "lineCode",
      //cascaderItem: ["stationCode"],
      props: {
        label: 'name',
        value: 'code'
      },
      dicUrl: "/support/swparamline/dict",
      search: false,
	  hide:true,
      searchSpan: 6
    }, {
      "type": "select",
      "label": "车站",
      "prop": "stationCode",
      props: {
        label: 'name',
        value: 'code'
      },
      dicFlag: true,
      dicUrl: `/support/swparamstation/dict/9`,
      search: true,
      searchSpan: 6
    }, {
      "type": "month",
      "label": "盘点日期",
      "prop": "statisticsDateStr",
      search: true,
      searchSpan: 6,
      format: "yyyy-MM",
      valueFormat: "yyyy-MM",
      hide: true
    }, {
      "type": "date",
      "label": "盘点日期",
      "prop": "statisticsDate",
      format: "yyyy-MM",
      valueFormat: "yyyy-MM-dd",
      display: false
    }, {
      "type": "input",
      "label": "账面结余金额",
      "prop": "bookBalanceMoney",
      width: 100
    }, {
      "type": "input",
      "label": "实际现金合计",
      "prop": "actualBookBalanceMoney",
      width: 100
    }, {
      "type": "input",
      "label": "差异金额",
      "prop": "diffBookBalanceMoney"
    }, {
      "type": "input",
      "label": "差异原因",
      "prop": "diffReason",
      width: 180
    }, {
      "type": "select",
      "label": "状态",
      "prop": "checkStatus",
      dicUrl:"/admin/dict/type/sw_st_pettymoney_check_status",
      search: true,
    }, {
      "type": "select",
      "label": "盘点人名称",
      "prop": "checkPersonName",
      width: 100
    }, {
      "type": "input",
      "label": "盘点人工号",
      "prop": "checkPersonJobNo",
      width: 100
    }, {
      "type": "select",
      "label": "复核人",
      "prop": "attendName"
    }, {
      "type": "input",
      "label": "复核人工号",
      "prop": "attendJobNo",
      width: 100
    }, {
      "type": "select",
      "label": "中心站长(副)",
      "prop": "auditStationName",
      width: 100
    }, {
      "type": "input",
      "label": "中心站长(副)工号",
      "prop": "auditStationJobNo",
      width: 120
    }, {
      "type": "select",
      "label": "车间票务专业审核人",
      "prop": "auditWorkshopName",
      width: 130
    }, {
      "type": "input",
      "label": "车间票务专业审核人工号",
      "prop": "auditWorkshopJobNo",
      width: 160
    }, {
      "type": "select",
      "label": "部门票务专业审核人",
      "prop": "auditDeptName",
      width: 160
    }, {
      "type": "input",
      "label": "部门票务专业审核人工号",
      "prop": "auditDeptJobNo",
      width: 165
    }, {
      "type": "textarea",
      "label": "备注内容",
      "prop": "otherRemark",
      hide: true,
      display: false,
    }, {
      "type": "input",
      "label": "创建人ID",
      "prop": "creatorId",
      hide: true,
      display: false,
    }, {
      "type": "input",
      "label": "创建人名称",
      "prop": "creatorName",
      hide: true,
      display: false,
    }, {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      hide: true,
      display: false,
    }, {
      "type": "input",
      "label": "删除标志 1：删除 0：未删",
      "prop": "delFlag",
      hide: true,
      display: false,
    }]
}

export const exportOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  submitBtn: false,
  emptyBtn: false,
  labelWidth: 130,
  "column": [{
    "type": "monthrange",
    "label": "盘点日期",
    "prop": "dates1",
    format: "yyyy-MM",
    valueFormat: "yyyy-MM",
    span: 24,
    rules: [{
      required: true,
      message: "请选择盘点日期",
      trigger: "blur"
    }]
  }, {
    "type": "select",
    "label": "车站",
    "prop": "dates2",
    props: {
      label: 'name',
      value: 'code'
    },
    dicFlag: true,
    multiple:true,
    dicUrl: `/support/swparamstation/dict/9`,
    span: 24
  }]
}

export const exportOptionAllStation= {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  submitBtn: false,
  emptyBtn: false,
  labelWidth: 130,
  "column": [{
    "type": "month",
    "label": "盘点日期",
    "prop": "checkTime",
    format: "yyyy-MM",
    valueFormat: "yyyy-MM",
    span: 24,
    rules: [{
      required: true,
      message: "请选择盘点日期",
      trigger: "blur"
    }]
  }]
}
